
#ifndef _MEMBER_BDIALOG_H_
#define _MEMBER_BDIALOG_H_

#include <BDialog>
#include "member_BMainWindow.h"

namespace BWE
{

	class member_BDialog
	{
	public:
		member_BDialog(BDialog* dialog);
		~member_BDialog();

		void freshRects();

		BDialog*		boss;
		bool			resizeable;
		int				result;

		ResizeMode		mode;
		BRect			titleRect;
		BRect			borderTop;
		BRect			borderLeft;
		BRect			borderRight;
		BRect			borderBottom;

		bool			dirtyRects;
		BSize			buttonSize;
		BSize			iconSize;
		Align			titleAlign;
		int				titleSpace;
		BRect			normalRect;
		bool			pressed;
		BPoint			pressedPos;
		bool			hoverTitle;
		bool			hoverClose;
		bool			hoverMin;
		BRect			closeRect;
		BRect			minRect;
		BIconHolder		titleIcon;
		BRect			iconRect;
		BString			tr_title;
		BRect			textRect;
		BIconHolder		closeIcon;
		BImageHolder	titleImage;
	};
}

#endif